﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Marin.Entities;
using Marin.Repository;

namespace Marin.Service
{
    public class DetalleNewService : IDetNewSer
   {
        private IDetNew detalleNew;

       

       public void AddNewDEtlle(DetalleNewEgreso det)
       {
           detalleNew.AddDet(det);
       }


       public void AddDet(DetalleNewEgreso det)
       {
           detalleNew.AddDet(det);
       }
   }
   public interface IDetNewSer
   {
       void AddDet(DetalleNewEgreso det);
   }
}
